package can.bishe.modules.senic.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 景点评分
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-03-27 20:23:41
 */
@TableName("senic_scores")
public class SenicScoresEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Integer id;
	/**
	 * 景点ID
	 */
	private Integer senicId;
	/**
	 * 景点名称
	 */
	@TableField(exist = false)
	private String senicName;
	/**
	 * 用户ID
	 */
	private Integer userId;
	/**
	 * 用户名称
	 */
	@TableField(exist = false)
	private String username;
	/**
	 * 景点评分
	 */
	private Double senicScore;
	/**
	 * 景帝评价
	 */
	private String senicEvaluate;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 修改时间
	 */
	private Date updateTime;
	/**
	 * 用户名
	 */

	@TableField(exist = false)
	private String userName;

	/**
	 * 设置：主键
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：主键
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：景点ID
	 */
	public void setSenicId(Integer senicId) {
		this.senicId = senicId;
	}
	/**
	 * 获取：景点ID
	 */
	public Integer getSenicId() {
		return senicId;
	}
	/**
	 * 设置：用户ID
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户ID
	 */
	public Integer getUserId() {
		return userId;
	}
	/**
	 * 设置：景点评分
	 */
	public void setSenicScore(Double senicScore) {
		this.senicScore = senicScore;
	}
	/**
	 * 获取：景点评分
	 */
	public Double getSenicScore() {
		return senicScore;
	}
	/**
	 * 设置：景帝评价
	 */
	public void setSenicEvaluate(String senicEvaluate) {
		this.senicEvaluate = senicEvaluate;
	}
	/**
	 * 获取：景帝评价
	 */
	public String getSenicEvaluate() {
		return senicEvaluate;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：修改时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：修改时间
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getSenicName() {
		return senicName;
	}

	public void setSenicName(String senicName) {
		this.senicName = senicName;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
}
